package com.monitor.service;

import com.baomidou.mybatisplus.service.IService;
import com.monitor.entity.ErpCustomerWarehouse;
import com.monitor.util.Result;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 客户仓库表 服务类
 * </p>
 *
 * @author LX
 * @since 2018-09-06
 */
public interface ErpCustomerWarehouseService extends IService<ErpCustomerWarehouse> {
	//期初物料查询
	public Result<List<Map<String, Object>>> getMateriels(int custId,String typestr);

	public Result<List<Map<String, Object>>> getMateriels_xswx(int ckid,String typestr,int kehuid);
	//查询留存物料
	public Result<List<Map<String, Object>>> getMateriels_xswx_lc(int ckid,int khid);

	public Result<List<Map<String, Object>>> getMaterielszi(String khid,String ckid,String materiel_name,String materiel_brand,String materiel_Specifications,String materiel_model,String materiel_place,String materiel_unit,String typekcorlc);


	//期初物料查询
	public Result<List<Map<String, Object>>> getMaterielsCk(int ckid);

	//期初物料查询
	public Result<List<Map<String, Object>>> getMaterielsCkqb(int ckid);

	//数据纠错期初物料查询
	public Result<List<Map<String, Object>>> getErrorMateriels(int custId,String proId);
}
